package com.xlh.virtualization.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Config {

    private Long id;

    /**
     * 开启每天凌晨定时删除容器，1为开启，0为关闭
     */
    private Boolean systemContainerDeletedSwitch;

    /**
     * 开启每天凌晨定时删除实训容器，1为开启，0为关闭
     */
    private Boolean trainingContainerDeletedSwitch;

    /**
     * 每个教师每门课程最大可创建的镜像数量
     */
    private Integer imageQuota;

    private Boolean deleted;

    private Date createTime;

    private Date updateTime;
}